package lleida.festamajor.model;

import java.util.ArrayList;

public class Date {
	protected String date;
	protected String formated;
	protected ArrayList<Event> events;
	
	public Date(String date, String formated) {
		this.date = date;
		this.formated = formated;
		events = new ArrayList<Event>();
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}
	
	public String getFormated() {
		return formated;
	}

	public void setFormated(String formated) {
		this.formated = formated;
	}

	public ArrayList<Event> getEvents() {
		return events;
	}
	
	public void addEvent(Event e) {
		events.add(e);
	}
}
